package com.showgood.vo;
import flash.utils.ByteArray;
import java.io.IOException;
public class CityVO extends BaseVO {
public int id;
public String name;
public int x;
public int y;
public int mayor;
@Override
public int getVid() { return 10; }
@Override public void pack(ByteArray b) throws IOException {
super.pack(b);
b.writeInt(this.id);
b.writeUTF(this.name);
b.writeInt(this.x);
b.writeInt(this.y);
b.writeInt(this.mayor);
}
@Override public void unpack(ByteArray b) throws IOException {
super.unpack(b);
this.id = b.readInt();
this.name = b.readUTF();
this.x = b.readInt();
this.y = b.readInt();
this.mayor = b.readInt();
}
}
